Get which-key--buffer's window from any frame
authorJonas Bernoulli <jonas@bernoul.li>
Sun, 30 May 2021 18:39:55 +0000 (20:39 +0200)
committerJonas Bernoulli <jonas@bernoul.li>
Sun, 30 May 2021 19:32:50 +0000 (21:32 +0200)
commitf6ce67d7053d00e11e0eda653e2f39d7955fb3b4
treee3060765ddb35d89f09628300dba747f8cd85b07
parent016b9bbf869767d0a6a32b2644444dd2d85e9fc1
Get which-key--buffer's window from any frame

Previously we assumed the buffer was being displayed in a window
of the current frame, which isn't the case if e.g. a child frame
is being used.

We also cannot assume that the third-party code that sets up such
a child frame also deletes it.  `which-key-posframe' for example
merely hides it.
which-key.el